package com.tgpms.web.earlierStage.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.tgpms.web.earlierStage.entity.DocUploadEntity;

/**
* 表DOC_UPLOAD_ENTITY -> null 的基本功能实现
*
* @author DESKTOP-I3TG0H3
* @createDate 2019/11/27
*/
@Mapper
public interface DocUploadEntityMapper {
	
	//条件查询文档
	List<DocUploadEntity> getDocUploadEntity(@Param("map")Map<String, Object> map);
	
	//通过唯一键查询
    DocUploadEntity selByUniqueKey(@Param("taskId")String taskId,@Param("sortId")String sortId);
    
    /**
     * null  deleteByPrimaryKey 实现
     * 
     * @param id
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    int deleteByPrimaryKey(String id);

    /**
     * null  insert 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    int insert(DocUploadEntity record);

    /**
     * null  insertSelective 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    int insertSelective(DocUploadEntity record);

    /**
     * null  selectByPrimaryKey 实现
     * 
     * @param id
     * @return null com.tgpms.web.earlierStage.entity.DocUploadEntity
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    DocUploadEntity selectByPrimaryKey(String id);

    /**
     * null  updateByPrimaryKeySelective 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    int updateByPrimaryKeySelective(DocUploadEntity record);

    /**
     * null  updateByPrimaryKey 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-11-27 15:32:59
     */
    int updateByPrimaryKey(DocUploadEntity record);
    
   
}